package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.Wenda;
import cn.wolfcode.luowowo.comment.domain.WendaComment;
import cn.wolfcode.luowowo.common.util.AjaxResult;

import java.util.List;

public interface IWendaCommentService {
    /**
     * 根据ObjectId查找评论
     * @param id
     * @return
     */
    List<WendaComment> listByWendaId(String id);

    /**
     * 保存社区问答的评论到Mongdb
     * @param wendaComment
     */
    AjaxResult save(WendaComment wendaComment);




}
